package cn.ecasoft.pojo.vo;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;

/**
 * @Author: LiangChun
 * @Description: 采集表(通过鉴权)记录表 table=lj_meter_collector_building 以楼宇为唯一单位
 * @DateTime: 2023/2/24
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CollectorVo {
    @NotNull(message="鉴权序列号")
    private String row_guid;
    /*
    采集表-楼宇编码19位
     */
    private String M_Code;
    /*
    行政区划代码0-6
     */
    private String M_Area_Number;
    /*
       竣工年份6-8
     */
    private String M_Year;
    /*
    项目流水号8-11
     */
    private String M_Project_Serial;
    /*
    项目编码0-11
     */
    private String M_Project_Code;
    /*
    采集器流水号11-13
     */
    private String M_Collectors_Code;
    /*
    采集表流水号13-16
     */
    private String M_Acquisition_Code;

    /*
    项目编码+采集表编码0-16
     */
    private String M_Project_Acquisition;

    /*
    楼宇代码16-19
     */
    private String M_Building_Code;
}
